package com.freeter.modules.good.entity.view;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotations.TableName;
import com.freeter.modules.good.entity.ChannelEntity;

import org.springframework.beans.BeanUtils;

import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;


/**
 * 频道
 *
 * @date 2018-05-28 17:34:00
 */
@TableName("cn_channel")
@ApiModel(value = "Channel")
public class ChannelView extends ChannelEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public ChannelView() {
    }

    public ChannelView(ChannelEntity channelEntity) {
        BeanUtils.copyProperties(this, channelEntity);

    }
}
